package com.wowocai.btchina.utils;

import org.springframework.http.HttpStatus;

/**
 * @author Ji Luo (iveely.liu@amoby.com)
 */
public class BadRequestException extends ApiException {

  private static final long serialVersionUID = -4073071696956965871L;

  public BadRequestException(final String message) {
    super(message);
  }

  @Override
  public HttpStatus statusCode() {
    return HttpStatus.BAD_REQUEST;
  }
}
